<template>
  <div id="homeroutecontent">

    
    <keep-alive>
      <!-- 判断router里对应的meta的keepalive是否为ture -->
      <router-view v-if="$route.meta.keepAlive"></router-view>
    </keep-alive>
       <router-view v-if="!$route.meta.keepAlive"></router-view>


  </div>
</template>

<script>
export default {
  name: 'HomeRouteContent'
}
</script>

<style>
#homeroutecontent {
  width: 65vw;
  height:60vh;
}
</style>